home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / grap_cad / lncad / lcad / install.bat next >
DOS Batch File  |  1992-04-25  |  1KB  |  42 lines

  1. Echo off
  2.   Cls
  3.   Echo . 
  4.   Echo *==================[ LaunchCAD Install Program ]=====================*
  5.   Echo . 
  6.   Echo This program will extract files from the LaunchCAD ZIP archive to your
  7.   Echo AutoCAD directory.
  8.   Echo .
  9.   Echo Press any key to continue or CTRL-C to quit now.
  10.   Echo .
  11.   Pause > nul
  12.   If [%1] == [] GoTo :usage
  13.   If [%2] == [] GoTo :usage
  14.   If Not Exist %1\unzip.exe GoTo baddrive
  15.   If Not Exist %2\acad.exe GoTo badacad
  16. :ok
  17.   Echo .
  18.   Echo Extracting LaunchCAD files...
  19.   %1\unzip %1\lcad\*.zip %2 /o
  20.   ReName %2\!read.me! readme.lc
  21.   ReName %2\order.doc order.lc
  22.   Echo .
  23.   Echo Done
  24.   Echo .
  25.   Echo Use LCAD.BAT to start LaunchCAD or add the line CALL LCAD to your
  26.   Echo ACAD.BAT file on the line containing ACAD.
  27.   Echo Once LaunchCAD is loaded configure, select AutoSetup and save.
  28.   Echo .
  29.   GoTo End
  30. :badacad
  31.   Echo Error: %2 is Not your AutoCAD directory.
  32.   GoTo usage
  33. :baddrive
  34.   Echo Error: the file UNZIP.EXE can Not be found on drive %1
  35. :usage
  36.   Echo .
  37.   Echo In order for Install to work properly you must provide both the
  38.   Echo floppy drive and your AutoCAD directory:
  39.   Echo .
  40.   Echo Usage: INSTALL A: C:\ACAD
  41. :End
  42.